package com.qf.java2102.qihaonan.hotel.service;

import com.qf.java2102.qihaonan.hotel.entity.CartItem;
import com.qf.java2102.qihaonan.hotel.entity.ResultVO;
import com.qf.java2102.qihaonan.hotel.pojo.User;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author qhn
 * @version 1.0
 */
public interface IOrderService {

    ResultVO<Map> generate(Map<Long, CartItem> cart, User user);

    ResultVO<String> pay(String orderId, BigDecimal money);
}


